import request from '@/utils/request'

// 查询贴现人信息完善记录列表
export function listDiscountInfoLog(query) {
  return request({
    url: '/server/discountInfoLog/list',
    method: 'get',
    params: query
  })
}

// 查询贴现人信息完善记录详细
export function getDiscountInfoLog(id) {
  return request({
    url: '/server/discountInfoLog/' + id,
    method: 'get'
  })
}

// 新增贴现人信息完善记录
export function addDiscountInfoLog(data) {
  return request({
    url: '/server/discountInfoLog',
    method: 'post',
    data: data
  })
}

// 修改贴现人信息完善记录
export function updateDiscountInfoLog(data) {
  return request({
    url: '/server/discountInfoLog',
    method: 'put',
    data: data
  })
}

// 删除贴现人信息完善记录
export function delDiscountInfoLog(id) {
  return request({
    url: '/server/discountInfoLog/' + id,
    method: 'delete'
  })
}
